from django.urls import re_path
from .views import reply, questions, label


urlpatterns = [
    re_path(r'^reply/$', reply.ReplyquestionListAPIView.as_view()),
    re_path(r'^reply/(?P<id>\d+)/useful/$', reply.PutReplyuseful.as_view()),
    re_path(r'^reply/(?P<id>\d+)/unuseful/$', reply.PutReplyunuseful.as_view()),
    re_path(r'^questions/(?P<id>\d+)/useful/$', questions.PutReplyquestionuseful.as_view()),
    re_path(r'^questions/(?P<id>\d+)/unuseful/$', questions.PutReplyquestionunuseful.as_view()),
    re_path(r'^labels/(?P<id>\d+)/focusin/$', label.PutLabelfocusin.as_view()),
    re_path(r'^labels/(?P<id>\d+)/focusout/$', label.PutLabelfocusout.as_view()),
    re_path(r'^labels/(?P<id>\d+)/$', label.Labeldetails.as_view()),

]
